Include the rotated xend.log.X in the bug report.
authorEwan Mellor <ewan@xensource.com>
Fri, 1 Dec 2006 13:06:15 +0000 (13:06 +0000)
committerEwan Mellor <ewan@xensource.com>
Fri, 1 Dec 2006 13:06:15 +0000 (13:06 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/util/bugtool.py

index 77df9d4420469cfaa8125f5469eb6e5c4fc2f767..18569dcb330cbea2f3a487bac2881b5a57c74c38 100644 (file)
@@ -43,8 +43,9 @@ TITLE_RE = re.compile(r'<title>(.*)</title>')
 
 FILES_TO_SEND = [ '/var/log/' + x for x in 
                   [ 'syslog', 'messages', 'debug',
-                    'xen/xend.log', 'xen/xend-debug.log', 'xen/xenstored-trace.log',
-                    'xen/xen-hotplug.log' ] ]
+                    'xen/xend-debug.log', 'xen/xenstored-trace.log',
+                    'xen/xen-hotplug.log', 'xen/xend.log' ] +
+                  [ 'xen/xend.log.%d' % z for z in range(1,6) ] ]
 #FILES_TO_SEND = [  ]